/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package db;

/**
 *
 * @author Yang Wu
 */
public class DBconnect implements DBinterface {

    public boolean connect(String address, String userName, String password) {
        //throw new UnsupportedOperationException("Not supported yet.");
        System.out.println("connect");
        return false;
    }

    public void disconnect() {
        //throw new UnsupportedOperationException("Not supported yet.");
        System.out.println("disconnect");
    }

    public boolean isConnected() {
        //throw new UnsupportedOperationException("Not supported yet.");
        System.out.println("isConnected");
        return false;
    }

    public String getName(int id) {
        //throw new UnsupportedOperationException("Not supported yet.");
        return "id"+id;
    }

}
